<template>
	<view>
		<view >
			<waterfall2 ref="update"></waterfall2>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onPullDownRefresh() {
		        //监听下拉刷新动作的执行方法，每次手动下拉刷新都会执行一次
		        console.log('refresh');
		        setTimeout(function () {
		            uni.stopPullDownRefresh();  //停止下拉刷新动画
		        }, 1000);
		    },
			onLoad:function(){
				uni.showLoading({
					title:"加载中",
					mask:true
				})
				setTimeout(()=>{
					uni.hideLoading();
				},2000)
			},
		onShow:function(){
			this.$refs.update.update();
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
